﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Linq
{
    public static class EnumerableEx
    {
        public static void Run<T>(this IEnumerable<T> sequence, Action<T> action)
        {
            foreach (var t in sequence)
            {
                action(t);
            }
        }
    }
}
